#
#  Makefile for Horizon - libll (Linked List)
#
#  Francesco Frigo
#  Sunday 18th February, 2007
#
#  Updated: Sunday 18th February, 2007
#

OUTF = libll.a
INCLUDEDIR = -I../include
OPTIONS = -nostdinc -nostdlib -nostartfiles -fno-builtin -fwritable-strings -g

CC=gcc-3.3

all: $(OUTF)
	cp $(OUTF) ..

$(OUTF): objs
	ar r $(OUTF) *.o

objs:
	$(CC) -c $(OPTIONS) $(INCLUDEDIR) *.c

clean: objremove
	rm -f $(OUTF) *.a *~

objremove:
	rm -f *.o
